Skip to content

Instantly share code, notes, and snippets.

@plembo
plembo / usefulsoftwarelist.md
Last active June 28, 2026 21:04
List of useful software

List of useful software

This is the software I like to have on various platforms, and is a work in progress (and so may morph wildly over time according to my personal whims) that I've started mostly for my own use. Recently I used this list in rebuilding my personal workstation after an awful day. Documentation saves (as do backups)!

Linux desktop

My personal workstation and laptop are currently running Linux Mint 22.3 (Zena, based on Ubuntu 24.04), moderately tailored for my own use. Previously, I was on Ubuntu 22.04 LTS Desktop. For me, Mint requires considerably less customization to be tolerable, and that made switching to it a lot less painful than it otherwise could have been.

Installation Sources and Methods

I prefer distro packages where available and not too far out of date, then the latest vendor official packages or binaries when I can can find them (except where it would be too disruptive: like when they overwrite critical dependencies). I will turn to vendor AppImages where packages

@raven-rock
raven-rock / edit-command-line-in-editor.zsh
Created July 31, 2018 13:18
Zsh: Use `C-x C-e` or `C-x e` to edit current command in $EDITOR with multi-line support. Saving and quitting $EDITOR returns to command prompt with the edited command inserted (but does not execute it until you press enter). Handy!
autoload -U edit-command-line
zle -N edit-command-line
bindkey '^xe' edit-command-line
bindkey '^x^e' edit-command-line
OS version Arch File Host Size Download Link Rate Limits
Windows 1.0 8086 Winworld (Kansas City, Missouri) 541KB Download ❌ Yes, 25 per day
Windows 2.0 386 Winworld (Kansas City, Missouri) 2.80MB Download ❌ Yes, 25 per day
Windows 3.0 8086/386
@shahzaib78631
shahzaib78631 / ListGridLayoutAnimation.tsx
Created September 23, 2022 04:23
List/Grid Layout Animation done is React Native using LayoutAnimation
import { Dimensions, LayoutAnimation, Platform, ScrollView, StyleProp, StyleSheet, Switch, Text, UIManager, View, ViewStyle } from 'react-native'
import React, { useEffect, useMemo, useState } from 'react'
import _ from 'lodash';
// SCREEN DIMENSIONS
const {width} = Dimensions.get("screen");
// COLORS
const colors = {
white: "#ffff",
[
{
"where": "Layer",
"if": {
"Datasource.type": "postgis"
},
"then": {
"Datasource.dbname": "hdmht",
"Datasource.user": "skors",
"Datasource.host": "localhost"

Uninstall Microsoft Edge

Important

Working on the latest supported Windows versions. Run Windows Update before following this guide.

1. Open Powershell > RUN AS ADMIN

2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter

3. Microsoft Edge will be completely uninstalled.

@enoonan
enoonan / Dockerfile
Last active June 28, 2026 20:43
pgvector Dockerfile which I'm using on Fly.io
FROM flyio/postgres-flex:17.2
# Install build dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
curl \
postgresql-server-dev-all
# Set the pgvector version
@luizomf
luizomf / Dockerfile
Created June 22, 2026 17:33
Otávio Miranda - Docker SBX https://youtu.be/UJuu_I5ohFY
FROM ubuntu:questing@sha256:4a9232cc47bf99defcc8860ef6222c99773330367fcecbf21ba2edb0b810a31e
# -----------------------------------------------------------------------------
# Copied directly from docker/sandbox-templates:shell-docker
# -----------------------------------------------------------------------------
ARG TARGETPLATFORM
ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
ENV PATH=/home/agent/.local/bin:/usr/local/share/npm-global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
@abhijitmamarde
abhijitmamarde / Moving Arduino15 location.md
Created May 15, 2025 05:06
Moving Arduino15 location

Moving Arduino15 location

Old / Default Path:

  • C:\Users\Dell\AppData\Local\Arduino15

New Path:

  • D:\AppData\Local\Arduino15

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.